<template>
  <div class="home-header">
    <div class="header-left">
      <div class="iconfont back-item">&#xe606;</div>
    </div>
    <div class="header-input">
      <span class="iconfont">&#xe600;</span>输入城市/景点/游玩主题
    </div>

    <router-link class="header-right" to="/city">
      城市
      <span class="iconfont arrow-icon">&#xe6b1;</span>
    </router-link>
  </div>
</template>
<script>
export default {}
</script>
<style lang="stylus" scoped>
@import '../../../assets/styles/varibles.styl';

.home-header {
  display: flex;
  height: 0.86rem;
  background: $bgColor;
  color: #fff;

  .header-left {
    width: 0.64rem;
    align-self: center;

    .back-item {
      text-align: center;
      font-size: 0.4rem;
    }
  }

  .header-input {
    flex: 1;
    height: 0.64rem;
    padding-left: 0.2rem;
    align-self: center;
    display: flex;
    align-items: center;
    margin-left: 0.2rem;
    background: #fff;
    border-radius: 0.05rem;
    color: #ccc;
  }

  .header-right {
    width: 1.24rem;
    text-align: center;
    align-self: center;
    color:#fff;
    .arrow-icon {
      font-size: 0.24rem;
    }
  }
}
</style>
